package com.dailyblue.java.spring.boot.shopping.test;

import com.dailyblue.java.spring.boot.commons.bean.JsonResult;
import com.dailyblue.java.spring.boot.shopping.service.GoodsService;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;

import javax.annotation.Resource;

@SpringBootTest
public class App {
    @Resource
    private GoodsService goodsService;

    @Test
    public void a(){
        JsonResult result = goodsService.add2(1);
        System.out.println(result);
    }
}
